package com.ruoyi.project.module.news.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 新闻表 news
 * 
 * @author ruoyi
 * @date 2018-11-12
 */
public class News extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 新闻ID */
	private Integer newsId;
	/** 新闻点击次数 */
	private Integer newsClickcount;
	/** 新闻标题 */
	private String newsTitle;
	/** 新闻内容 */
	private String newsContent;

	public void setNewsId(Integer newsId) 
	{
		this.newsId = newsId;
	}

	public Integer getNewsId() 
	{
		return newsId;
	}
	public void setNewsClickcount(Integer newsClickcount) 
	{
		this.newsClickcount = newsClickcount;
	}

	public Integer getNewsClickcount() 
	{
		return newsClickcount;
	}
	public void setNewsTitle(String newsTitle) 
	{
		this.newsTitle = newsTitle;
	}

	public String getNewsTitle() 
	{
		return newsTitle;
	}
	public void setNewsContent(String newsContent) 
	{
		this.newsContent = newsContent;
	}

	public String getNewsContent() 
	{
		return newsContent;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newsId", getNewsId())
            .append("newsClickcount", getNewsClickcount())
            .append("newsTitle", getNewsTitle())
            .append("newsContent", getNewsContent())
            .toString();
    }
}
